﻿using System.ComponentModel.DataAnnotations;

namespace SuppKids.Core.Domain
{
	public class ProductConsumptionValue : Entity
	{
		public ProductConsumptionValue()
		{
		}

		public ProductConsumptionValue(Group @group, DailyMenu dailyMenu)
		{
			this.Group = @group;
			this.DailyMenu = dailyMenu;
		}

		[Required]
		public virtual Group Group { get; set; }

		[Required]
		public virtual DailyMenu DailyMenu { get; set; }

		[Required]
		public double Value { get; set; }

		[Required]
		public double Protein { get; set; }

		[Required]
		public double Fat { get; set; }

		[Required]
		public double Carbohydrates { get; set; }
	}
}